package com.geeguo.ebuilder.operation.business.tenant.datasourceinfo.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.geeguo.ebuilder.operation.base.database.entity.BaseModifyEntity;
import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
@TableName(value = "tcf_data_source_info")
public class DataSourceInfoEntity extends BaseModifyEntity {
    
    @TableField(value = "name")
    private String name;
    
    @TableField(value = "host")
    private String host;
    
    @TableField(value = "port")
    private Integer port;
    
    @TableField(value = "db_name")
    private String dbName;
    
    @TableField(value = "username")
    private String username;
    
    @TableField(value = "password")
    private String password;
    
    @TableField(value = "initial_size")
    private Integer initialSize;
    
    @TableField(value = "min_idle")
    private Integer minIdle;
    
    @TableField(value = "max_active")
    private Integer maxActive;
}

